//
//  CommonPostModel.h
//  BaseProject
//
//  Created by 王洋 on 2020/12/15.
//  Copyright © 2020 王洋. All rights reserved.
//
#import "CommonMediaModel.h"
#import "CommunityEvaModel.h"

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface CommonPostModel : NSObject



@property (nonatomic, copy) NSString *pid;

//pc专用ID
@property (nonatomic, copy) NSString *commonId;


//主题ID 新增必传
@property (nonatomic, copy) NSString *themeId;
//主题名称
@property (nonatomic, copy) NSString *themeTitle;


@property (nonatomic, copy) NSString *title;

//类型（1：谈婚-帖子，2：论嫁-话题） 必传
@property (nonatomic, copy) NSString *type;


//内容 新增必传
@property (nonatomic, copy) NSString *content;
@property (nonatomic, strong) NSMutableAttributedString *attrContent;


@property (nonatomic, copy) NSString *createTime;

//创建人
@property (nonatomic, copy) NSString *createUser;
//修改人
@property (nonatomic, copy) NSString *updateUser;
//用户头像
@property (nonatomic, copy) NSString *userHeadUrl;
//用户昵称
@property (nonatomic, copy) NSString *userNickName;


@property (nonatomic, copy) NSString *userId;


//是否删除（1：是，2：否
@property (nonatomic, copy) NSString *isDel;
//为空 未点赞，不为空点赞
@property (nonatomic, copy) NSString *isZan;

//点赞数量
@property (nonatomic, assign) NSInteger likes;

//下架原因
@property (nonatomic, copy) NSString *reason;

//备注
@property (nonatomic, copy) NSString *remark;

//回复数量
@property (nonatomic, assign) NSInteger replyCount;


@property (nonatomic, copy) NSString *replyUserId;

//来源（1：平台，2：用户，3：商家）新增必传
@property (nonatomic, copy) NSString *source;
//状态（1：待审核，2：审核拒绝，3：审核通过-上架，4：下架）
@property (nonatomic, assign) NSInteger status;

//sysMediaList
@property (nonatomic, strong) NSMutableArray <CommonMediaModel *>*sysMediaList;
@property (nonatomic, strong) NSMutableArray *photoArray;

@property (nonatomic, strong) NSMutableArray <CommunityEvaModel *>*sysPostChildList;



//自定义字段
@property (nonatomic, assign) CGFloat textHeight;
@property (nonatomic, assign) CGFloat imageHeight;

@property (nonatomic, assign) CGFloat itemHeight;

@end

NS_ASSUME_NONNULL_END
